From: Jan D Date: Wed, 11 Aug 2010 18:47:34 +0000 (+0200) Subject: * xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6993 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c934fce778f3b089d8d684cea6aa90952567cb05;p=emacs.git * xfns.c (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip. --- diff --git a/src/ChangeLog b/src/ChangeLog index 88ef2edc2f7..de4f873f2fb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors first. + (Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip. * gtkutil.h (xg_check_special_colors): Declare. diff --git a/src/xfns.c b/src/xfns.c index 8544d9e3e10..e2d571a847f 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5237,7 +5237,7 @@ Value is t if tooltip was open, nil otherwise. */) /* When using system tooltip, tip_frame is the Emacs frame on which the tip is shown. */ f = XFRAME (frame); - if (xg_hide_tooltip (f)) + if (FRAME_LIVE_P (f) && xg_hide_tooltip (f)) frame = Qnil; #endif